package com.kitchen.ui.button
{
	import flash.display.BitmapData;
	import flash.events.MouseEvent;
	
	public class CloseButton extends IButtom
	{
		public function CloseButton(bitMapData:BitmapData)
		{
			super(bitMapData);
			this.drawMask(50, 50);
			this.offsetX(290);
			this.offsetY(605);
		}
		
		override protected function onMouseOver(me:MouseEvent):void{
			this.offsetX(337);
		}
		
		override protected function onMouseDown(me:MouseEvent):void{
			this.offsetX(385);
		}
		
		override protected function onMouseOut(me:MouseEvent):void{
			this.offsetX(290);
		}
	}
}